<%@ page language="java" import="java.util.*;import java.text.SimpleDateFormat;import java.util.Date;" pageEncoding="UTF-8"%>

<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
Date date = new Date();
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<base href="<%=basePath%>">
    
    <title>My JSP 'UserManager.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<title>数据字典</title>
    <link rel="stylesheet" type="text/css" href="<%=basePath%>css/header.css"/>
    <script type="text/javascript" src="<%=basePath%>js/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="<%=basePath%>js/table.js"></script>
	</head>
	<body>
	<div id="all">
	  <div id="banner">
	    <h1>数据字典查询管理系统</h1>
	  </div>
	  <div id="nav">
	    <ul>
	      <li class="inactive" id="inactive_now"><a href="/ODSManager/Function_UserManage">用户管理</a></li>
	      <li class="inactive"><a href="#">接口查询</a></li>
	      <li class="inactive"><a href="#">表关系查询</a></li>
	      <li class="inactive"><a href="/ODSManager/Function_Load_data">数据导入</a></li>
	      <li class="inactive"><a href="/ODSManager/Function_ODSsearch">ODS表查询</a></li>
	      <li class="inactive"><a href="/ODSManager/Function_DataIndex">数据索引</a></li>
	      <li class="inactive"><a href="#">新建分类</a></li>
	    </ul>
	  </div>
	  <div id="main">
	    <div id="welcome">欢迎你回来,${cname}!&nbsp;&nbsp;&nbsp;现在时间: <jsp:expression>df.format(date) </jsp:expression></div>
	    <div id="adminop">
	      <ul>
	        <li><a href="javascript:parent.location.reload();">退出管理</a></li>
	        <li><a href="#">站点首页</a></li>
	      </ul>
	    </div>
	  </div>
	</div>
	<div id="body">
	  <div class="tablename"> <span>用户管理</span>
	    <input type="button" id="add_user_button" value="添加用户" />
	  </div>
	  <table id="ibody" width="600" border="0" align="center" cellPadding=3 cellSpacing=1 bgColor="#CCCCCC" style="
		margin-right: auto;
		margin-left: auto;">
	    <tr align="center">
	      <th>用户名</th>
	      <th>密码</th>
	      <th>用户权限</th>
	      <th>详细信息</th>
	      <th>删除用户</th>
	    </tr>
	    <tr>
	      <td>&nbsp;</td>
	      <td>&nbsp;</td>
	      <td>&nbsp;</td>
	      <td>&nbsp;</td>
	      <td>&nbsp;</td>
	    </tr>
	    <tr>
	      <td>&nbsp;</td>
	      <td>&nbsp;</td>
	      <td>&nbsp;</td>
	      <td>&nbsp;</td>
	      <td>&nbsp;</td>
	    </tr>
	    <tr>
	      <td>&nbsp;</td>
	      <td>&nbsp;</td>
	      <td>&nbsp;</td>
	      <td>&nbsp;</td>
	      <td>&nbsp;</td>
	    </tr>
	  </table>
	<div class="add_user"  style="display: none;">
	  
	  <table border="0" style="
		margin-right: auto;
		margin-left: auto;">
	  <tr>
	  <td colspan="4" align="center"><h2>添加用户</h2></td>
	  </tr>
	  <tr>
	    <td>用户名：</td>
	    <td>  <input name="" type="text" /></td>
	    <td>用户权限：</td>
	    <td>  <input name="" type="text" /></td>
	  </tr>
	  <tr>
	    <td>密码：</td>
	    <td>  <input name="" type="text" /></td>
	    <td>确认密码：</td>
	    <td>  <input name="" type="text" /></td>
	  </tr>
	  <tr>
	    <td>详细信息：</td>
	    <td colspan="3" align="left"><input name="" type="text" /></td>
	    </tr>
	  <tr>
	    <td>&nbsp;</td>
	    <td align="center"><input name="input2" type="reset" value="取消" id="add_user_no"/></td>
	    <td align="right"><input name="input" type="submit" value="确认添加" /></td>
	    <td>&nbsp;</td>
	  </tr>
	</table>
	  </div>
	</div>
	</body>
</html>